import React, {Component} from 'react';

const news = [
    {id:1,value:'news1'},
    {id:2,value:'news2'},
    {id:3,value:'news3'},
]

class News extends Component {
    render() {
        return (
           <ul>
               {
                   news.map(value => {
                       return ( <li key={value.id}>{value.value}</li>)
                   })
               }
           </ul>
        );
    }
}

export default News;